home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / DOSPAS10.ARJ / DOSPASS.TXT < prev   
Text File  |  1991-11-14  |  2KB  |  42 lines

  1. DOSpass v1.0                                          November 14, 1991
  2.  
  3.      Some of my users run programs from the 'DOSSHELL' that is furnished
  4. with MS-DOS 5.0.  It's an OK menu system with some similarities to Windows.
  5.  
  6.      I wrote this program after one of my users put a password on a 
  7. menu item, and then forgot it.  I generally don't like password security
  8. since VERY few users will implement it properly.  (i.e. passwords that
  9. aren't easy to guess and aren't taped to the PC).
  10.  
  11.      Anyway I got around the problem by deleting the menu item and re-setting
  12. it up.  This seemed pretty sloppy, so I dug into the menu system to see if
  13. there was a better way.  I discovered that the passwords are stored in
  14. the 'dosshell.ini' file in (nearly) clear text.
  15.  
  16.      MS adds (or subtracts) 26 to (or from) each character in the user's 
  17. password until they get an upper case letter.  So if your password was
  18. 'junk', the computer would store it as 'PATQ'.  If the password was already
  19. in uppercase, no change is made and it is stored in CLEAR text!  By the way,
  20. since they chose this incredibly simple scheme, you can use either the 
  21. original password or the converted one ('junk' or 'PATQ').  
  22.  
  23.      Anyway, this program will print a list (on the screen) of each menu item 
  24. including those in sub-menus.  If there is a password, it will print that too.
  25.  
  26.     I release this program into the public domain.  Use this program at your
  27. OWN RISK!  I take no responibility for any flaws that might be in the code.
  28. Nor will I accept responsibility for any damages (consequential or otherwise)
  29. that may result from the use of this program.  Feel free to review the source
  30. code prior to executing the program.
  31.  
  32.     (Geez, I wish we didn't live in a world where you had to worry about
  33. being sued everytime you did something nice for someone.)
  34.  
  35.  
  36.  
  37.   Daniel Sherer
  38.   Compuserve ID: 72607,1142
  39.  
  40. PS.  This works great on all the systems that I've tried it on.  If you
  41. have problems, or suggestions, I would love to here from you.
  42.